/* 声明字体 */
@font-face {
    font-family: 'icomoon';
    src: url('../fonts/icomoon.eot?cwgf3s');
    src: url('../fonts/icomoon.eot?cwgf3s#iefix') format('embedded-opentype'),
        url('../fonts/icomoon.ttf?cwgf3s') format('truetype'),
        url('../fonts/icomoon.woff?cwgf3s') format('woff'),
        url('../fonts/icomoon.svg?cwgf3s#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

.w {
    width: 1200px;
    margin: 0 auto;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

/* 创建一个类名,谁用就给谁调用 */
.style_red {
    color: #c81623;
}

/* 快捷导航模块start */
.shortcut {
    height: 31px;
    background-color: #f1f1f1;
    line-height: 31px;
    font-size: 12px;

}

.shortcut ul li {
    float: left;
}

/* 选择偶数得小li */
.shortcut .fr ul li:nth-child(even) {
    width: 1px;
    height: 12px;
    background-color: #666666;
    margin: 9px 15px 0px;
}

.shortcut .fr .fr_icon::after {
    content: "\e929";
    font-family: 'icomoon';
    margin-left: 6px;
}

/* 快捷导航end */
/* header头部制作start */
.header {
    position: relative;
    height: 105px;
    /* background-color: pink; */
}

.logo {
    position: absolute;
    top: 25px;
    left: 0px;
    width: 171px;
    height: 61px;

}

.logo a {
    /* 转换成块级元素让他支持宽高 */
    display: block;
    width: 171px;
    height: 61px;
    background: url(../image/logo.png) no-repeat;
    font-size: 0px;
}

/* search模块 */
.search {
    position: absolute;
    left: 346px;
    top: 25px;
    width: 538px;
    height: 36px;
    border: 2px solid #b1191a;
}

.search input {
    float: left;
    height: 32px;
    width: 454px;
    /* 因为是css3的盒子模型，加内边距不会引发宽度增大的问题 */
    padding-left: 10px;
}

.search button {
    /*因为浮动是亲贴在一起的， 加浮动使没有缝隙 */
    float: left;
    width: 80px;
    height: 32px;
    background-color: #b1191a;
    font-size: 16px;
    color: #ffffff;
}

/* 热点模块的制作 */
.hotwords {
    position: absolute;
    top: 66px;
    left: 346px;
}

.hotwords a {
    margin: 0 10px;
}

/* 购物车模块的制作 */
.shopcar {
    position: absolute;
    top: 25px;
    right: 60px;
    width: 145px;
    height: 35px;
    border: 1px solid #201a1a;
    background-color: #f7f7f7;
    line-height: 35px;
    text-align: center;
    font-size: 12px;
}

/* 在文字的前面加before伪元素 */
.shopcar::before {
    content: "\e932";
    font-family: 'icomoon';
    color: #da5555;
    margin-right: 6px;

}

/* 在文字的后面加after伪元素 */
.shopcar::after {
    content: "\e92f";
    font-family: "icomoon";
    margin-left: 10px;
    color: #a6a6a6;
}

/* 定位子绝父绝定位上 */
.shopcar .count {
    position: absolute;
    top: -5px;
    left: 105px;
    height: 14px;
    line-height: 14px;
    background-color: #e60012;
    color: #fff;
    padding: 0 5px;
    border-radius: 7px 7px 7px 0;
}

/* header头部制作end */
/* nav导航模块的制作 */
.nav {
    height: 47px;
    border-bottom: 2px solid #b1191a;
}

.nav .dropdown {
    float: left;
    width: 210px;
    height: 46px;
    background-color: #b1191a;

}

.nav .navitems {
    float: left;
}

.dropdown .dt {
    width: 100%;
    height: 100%;
    color: #fff;
    text-align: center;
    line-height: 46px;
    font-size: 16px;
}

.dropdown .dd {
    /* display: none; */
    height: 465px;
    width: 210px;
    background-color: #c81623;
    margin-top: 1px;
}

.dropdown .dd ul li {
    position: relative;
    height: 31px;
    line-height: 31px;
    margin-left: 2px;
    padding-left: 10px;

}

.dropdown .dd ul li:hover {
    background-color: #fff;

}

.dropdown .dd ul li a {
    font-size: 14px;
    color: #fff;
}

.dropdown .dd ul li:hover a {
    color: #c81623;
}

.dropdown .dd ul li:after {
    position: absolute;
    right: 10px;
    top: 10px;
    font-family: 'icomoon';
    content: "\e92f";
    color: #fff;
    font-size: 14px;
    line-height: 10px;

}

.dropdown .dd ul li:hover::after {
    color: #c81623;
}

/* 右侧的 */
.navitems ul li {
    float: left;
}

.navitems ul li a {
    display: block;
    height: 47px;
    line-height: 47px;
    font-size: 16px;
    /* 给a一个内边距使用户点击的时候范围更大 */
    padding: 0 25px;
    color: #333;
}


/* 底部模块的制作 */
.footer {
    height: 415px;
    background-color: #f5f5f5;
    padding-top: 30px;
}

.mod_service {
    height: 80px;
    border-bottom: 1px solid #ccc;
}

.mod_service ul li {
    float: left;
    width: 300px;
    height: 50px;
    padding-left: 35px;
}

.mod_service ul li h5 {
    float: left;
    height: 49px;
    width: 49px;
    margin-right: 8px;
    background: url(../image/icons.png) no-repeat -253px -3px;
}

.mod_service ul li:nth-child(2) h5 {
    background: url(../image/icons.png) no-repeat -255px -54px;
}

.mod_service ul li:nth-child(3) h5 {
    background: url(../image/icons.png) no-repeat -257px -106px;
}

.mod_service ul li:nth-child(4) h5 {
    background: url(../image/icons.png) no-repeat -258px -157px;
}

.service_txt h4 {
    font: 14px;
}

.service_txt p {
    font-size: 12px;
}

.mod_help {
    height: 185px;
    border-bottom: 1px solid #ccc;
    padding-top: 20px;
    padding-left: 50px;
}

.mod_help dl {
    float: left;
    width: 200px;
}

.mod_help dl:last-child {
    text-align: center;
    width: 90px;
}

.mod_help dl dt {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.mod_help dl dd {
    font-size: 12px;
    color: #666;
}

/* 版权信息模块 */
.mod_copyright {
    text-align: center;
}

.mod_copyright .link {
    margin-top: 20px;
    font-size: 12px;
    color: #666;

}

.mod_copyright .link a {
    margin: 0 15px;
}

.mod_copyright .copyright {
    margin-top: 15px;
    line-height: 20px;
}

/* 版权信息模块结束 */
/* 公共部分结束 */